package com.lx.nba.util;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class Result implements Serializable{
	
	
	private Map<String , Object> param = new HashMap<>() ;

	private boolean isSuccess ;
	
	private String error ;
	
	public Map<String, Object> getParam() {
		return param;
	}

	public void setParam(Map<String, Object> param) {
		this.param = param;
	}
	
	
	public Object getParam(String key ){
		
		return param.get(key) ;
	
	}
	
	public void addParam( String key , Object value ){
		
		param.put(key, value) ;
		
	}

	public boolean isSuccess() {
		return isSuccess;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
	
	

}
